home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / utils / rdate115.arj / REDATE!.DOC < prev    next >
Text File  |  1993-09-28  |  3KB  |  88 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                     REDATE!
  7.                          Free DOS utility: file redater
  8.                        Version 1.15 - September 28, 1993
  9.                                     (c) 1993
  10.                                        by
  11.                              David Daniel Anderson
  12.                                    Reign Ware
  13.  
  14.  
  15.  
  16.  
  17.  
  18. REDATE! alters the date/ time stamp of files.
  19.  
  20. Usage: REDATE! file(s) [mm/dd/yy (or) mm-dd-yy] [hh:mm[:ss]]
  21.   or : REDATE! file(s) /p  (prompt for date, time doesn''t change)
  22.  
  23. REDATE! takes one, two or three parameters on the command line.  If no
  24. parameters are given, the above info is displayed, where:
  25.  
  26. "file(s)"  is the name of the file or file you want to stamp,
  27. "mm/dd/yy" is Month, Date, Year, and
  28. "hh:mm:ss" is Hour, Minute, Second.
  29.  
  30.  
  31. The first parameter is the name of the file to process, which may contain
  32. DOS wildcards (? and *) if desired.  It is mandatory to have a valid file
  33. specification.
  34.  
  35. Then, if the file date/ time is to be synchronized with the current
  36. *system* date/ time, do not follow it with any additional parameters.
  37.  
  38. Otherwise, both a seven or eight-digit DATE followed by an seven or
  39. eight-digit TIME must follow the filename as the second AND third
  40. parameters.  (The delimiters, / and :, may be changed but NOT omitted.)
  41.  
  42. NEW with version 1.10: if only ONE seven or eight-digit parameter follows
  43. the file specification, REDATE! will look at the first sub-field delimiter
  44. to determine if it is a date or time.
  45.  
  46. If that sub-field delimiter is a hyphen (-) or a forward slash (/), then
  47. REDATE! will assume it is a date.  Otherwise, REDATE! assumes it is a time.
  48.  
  49. If you use this option, the non-specified field will not be changed.
  50. In other words, if you specify just a new file date, the file time will
  51. remain unchanged.
  52.  
  53. * NEW with version 1.10a: you do not need to use the seconds field.  It
  54. defaults to :00 if it is absent.  Thus, 22:30:00 can be simply 22:30
  55.  
  56. * NEW with version 1.11: you can simply put a /p after the "file(s)" file
  57. specification, and REDATE! will prompt for a date.  Time will not change.
  58.  
  59. * NEW with version 1.15: the date and time fields do not need to be
  60. padded with a leading zero when the month and hour are less than 10.
  61. Thus, 9-28-93 and 1:15 are now acceptable.  Hurray!
  62.  
  63. To stamp this file one-fifteen a.m., Sept. 28, 1993, you can specify:
  64.  
  65. REDATE! redate!.doc 09/28/93 01:15:00   [or]
  66. REDATE! redate!.doc 9/28/93 1:15
  67.  
  68.  
  69. Finally, REDATE! may be renamed on your system.  I call mine UD.exe,
  70. since "ud" is much easier to type than "redate!" - isn't it?!
  71.  
  72.  
  73. {------------------------------------------------------------------------------
  74.  
  75.                                 REVISION HISTORY
  76.  
  77. v1.00  : 1993/07/14.  First public release.  DDA
  78. v1.10  : 1993/09/07.  Added support for single field specification,
  79.                             suggested by Don Dougherty.   DDA
  80.                       Added support for century.
  81.                             (Set century=2000 for 20th century dates.)  DDA
  82. v1.10a : 1993/09/09.  Now specifying seconds is optional, default is :00  DDA
  83. v1.11  : 1993/09/13.  Added "/p": prompt for date, time doesn't change.  DDA
  84. v1.15  : 1993/09/28.  Increased date & time specification flexibility.  DDA
  85.  
  86. ------------------------------------------------------------------------------}
  87.  
  88.